package com.swfcamp.shopper
{
	import flash.events.IEventDispatcher;
	
	import mx.collections.ArrayCollection;
	import mx.controls.HTML;
	
	[Event(name="com.swfcamp.shopper.ProductEvent:ProductFound", type="com.swfcamp.shopper.ProductEvent")]
	[Event(name="com.swfcamp.shopper.ProductEvent:ProductNotFound", type="com.swfcamp.shopper.ProductEvent")]
	
	public interface IProductProvider extends IEventDispatcher
	{
		function search(query:String):ArrayCollection;
		function detectProduct(html:HTML):void;
	}
}